/**
 * Created by baidm in 2022/4/10 on 11:33
 */
interface IRadio {
  switchRadio(trigger: boolean): void
}

interface IRadioWithBattery extends IRadio {
  checkBatteryStatus(): void
}

class Car implements IRadio {
  switchRadio(trigger: boolean) {

  }
}

class Cellphone implements IRadioWithBattery {
  switchRadio(trigger: boolean) {

  }

  checkBatteryStatus() {

  }
}